/**
 * nghilt
 * 2011/09/18
 */
package vn.nnn.shogi.quanco;

import java.awt.Rectangle;
import java.util.ArrayList;

import javax.swing.JApplet;

import vn.nnn.shogi.board.Board;

/**
 * 
 */
public class QuanHuongXaPhongCap extends QuanTotPhongCap {

	public QuanHuongXaPhongCap( Rectangle toaDo, int color, boolean normalDirection, JApplet mainApplet ) {
		super( toaDo, color, normalDirection, mainApplet );	
	}
	
	/* (non-Javadoc)
	 * @see vn.nnn.shogi.quanco.QuanCo#canRelease(vn.nnn.shogi.board.Board, java.awt.Rectangle, java.util.ArrayList)
	 */
	@Override
	public boolean canRelease( Board board, Rectangle destination,
			ArrayList<QuanCo> listQuanCo ) {		
		return false;
	}
	
	@Override
	public QuanCo getQuanTruocKhiPhong() {		
		return new QuanHuongXa( toaDo, color, normalDirection, getMainApplet() );
	}
}
